# -*- coding: utf-8 -*-
import logging
import qrcode
import base64
from io import BytesIO
from odoo import api, fields, models
from PIL import Image,ImageFont,ImageDraw
from odoo import tools, _
from odoo.exceptions import ValidationError, AccessError
from odoo.modules.module import get_module_resource
import json
_logger = logging.getLogger(__name__)

class InheritPosCategory(models.Model):
    _inherit = 'pos.category'
    # 属于POS
    config_id = fields.Many2one("pos.config", _("Belongs To POS"), readonly=True, default=lambda self: self.env.user.config_id)
    